package com.data.service;

import com.data.common.Result;
import com.data.service.entity.EventLogFeignBO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * EventLogService
 * </p>
 *
 * @author li
 * @version 1.0
 * @date 2022-02-11 17:29
 * @since 1.0
 */
@FeignClient(url = "${feignService.log:}",name = "eventLog",contextId = "feignEventLog")
public interface EventLogService {

    /** 新增 eventLog
     * @param eventLog
     * @return
     */
    @PostMapping(value = "/eventLog/add")
    Result<?> insert(@RequestBody EventLogFeignBO eventLog);

}
